package com.ordertracker.persistent.dictionary.template;

import com.ordertracker.persistent.dictionary.IClient;
import com.ordertracker.persistent.dictionary.template.OptimisticLockTemplate;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Description of class.
 * Created 12/13/12 3:44 PM
 *
 * @author andrey.rodin@playtech.com
 */

@MappedSuperclass
public abstract class AbstractClientTemplate extends StateEntityTemplate implements IClient {

    @Column
    private String name;
    @Column
    private String description;

    @Column(nullable = false)
    private String code;

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
